package com.ddm.entity.webEntity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 沉香小课堂表
 * </p>
 *
 * @author lwj
 * @since 2025-05-7
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cxClassroom对象", description="沉香小课堂")
@TableName(value = "classroom", autoResultMap = true)
public class cxClassroom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课堂id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课堂名称")
    private String name;

    @ApiModelProperty(value = "发布时间")
    @TableField("publish_date")
    private LocalDateTime publishDate;

    @ApiModelProperty(value = "课堂内容")
    private String content;


    @ApiModelProperty(value = "图片url")
    private String imag;


    @ApiModelProperty(value = "发布人")

    private String publisher;

    @ApiModelProperty(value = "来源地址")
    private String url;


    @ApiModelProperty(value = "来源地址")
    @TableField("abstract")
    private String a;

    @ApiModelProperty(value = "视频地址")
    private String video;


}

